package com.example.demo.entity;

/**
 * @Author: WinstonDeng
 * @Description:
 * @Date: Created in 18:06 2020/4/7
 * @Modified by:
 */
public class Doctor {
    private long id;
    private String openId;
    private String username;
    private String password;
    private String realName;
    private String pictureUrl;
    private long departmentId;
    private String honor;
    private String gender;
    private String description;

    private Department department;

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(long departmentId) {
        this.departmentId = departmentId;
    }

    public String getHonor() {
        return honor;
    }

    public void setHonor(String honor) {
        this.honor = honor;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "id=" + id +
                ", openId='" + openId + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", pictureUrl='" + pictureUrl + '\'' +
                ", departmentId=" + departmentId +
                ", honor='" + honor + '\'' +
                ", gender='" + gender + '\'' +
                ", description='" + description + '\'' +
                ", department=" + department +
                '}';
    }
}
